recordController = BaseController.extend({
	template:'record',
	center:'提现记录',
	mainView: 'record',
	waitOn:function(){
		let self = this;
		self.partnerInfo = this.currentUser();
		console.log('record'+self.partnerInfo.id);
		return Meteor.subscribe('draws',{partner_id: parseInt(self.partnerInfo.id)},{});
	},
	data: function(){
		return {
			recordList: function(){
				console.log(Draws.find().fetch());
				return Draws.find().fetch();
			}
		};
	}
})